setFontSizeUnit

abstract fun setFontSizeUnit(fontSizeUnit: FontUnit)

Sets the unit in which font sizes for BlockApi.setTextFontSize / BlockApi.getTextFontSizes are interpreted. The engine continues to store font sizes in points internally; this only affects API-boundary interpretation.

Parameters

fontSizeUnit

the new font-size unit of the scene.